package cn.itsource.ymcc.thread;

import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;

public class MyCallable implements Callable<Long> {
    @Override
    public Long call() throws Exception {
        return null;
    }

    public static void main(String[] args) {
        MyCallable myCallable = new MyCallable();
        FutureTask<Long> longFutureTask = new FutureTask<>(myCallable);
        Thread thread = new Thread();
        thread.start();
    }
}
